package com.couldsail.takeaway.pojo.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@Data
@ApiModel(description = "分类实体")
public class CategoriesDTO {
    @ApiModelProperty("分类ID")
    private String id;
    @ApiModelProperty("名字")
    private String name;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("店铺id")
    private String shopId;
    @ApiModelProperty("创建时间")
    private DateTimeFormat createAt;
    @ApiModelProperty("更新时间")
    private DateTimeFormat updateAt;
}
